package com.fuze.energy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fuze.energy.domain.entity.EventLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface WarningMapper  extends BaseMapper<EventLog> {


    boolean recordWarning(String rmuName, Double humidity, int i, Date date);

    List<EventLog> queryRecords(String mainBoardId);
}
